/* 响应式布局 */
.contact-content {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

.contact-form {
    flex: 1;
}

.contact-info {
    flex: 0 0 300px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
    max-width: 100%; /* 新增：限制最大宽度 */
    width: 100%; /* 新增：与输入框同宽 */
}

input, textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    box-sizing: border-box;
}

textarea {
    resize: vertical; /* 只能垂直拖动 */
    min-height: 100px; /* 设置最小高度 */
}

/* ... 原有表单样式保持不变 ... */

.post_button {
    width: 130px;
    padding: 12px 24px;
    margin-top: 15px;
    background: linear-gradient(45deg, #819fb8, #657da0);
    border: 2px solid rgba(179, 203, 223, 0.5);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(52, 93, 126, 0.5);
}

.post_button:hover {
    background: linear-gradient(45deg, #1b3d57, #25476e);
    box-shadow: 0 0 20px  rgba(52, 93, 126, 0.5);
    transform: translateY(-2px);
}

.post_button:active {
    transform: translateY(1px);
    box-shadow: 0 0 10px  rgba(52, 93, 126, 0.5);
}

.post_button:disabled {
    background: #2c3e50;
    cursor: not-allowed;
    opacity: 0.7;
}

/* 信息部分样式 */


.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.social-icon {
    padding: 12px 24px;
    background: linear-gradient(45deg, #657da0, #819fb8);
    border-radius: 20px;
    color: white !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(101, 125, 160, 0.3);
}

.social-icon:hover {
    transform: translateY(-2px);
    background: linear-gradient(45deg, #25476e, #1b3d57);
    box-shadow: 0 5px 15px rgba(52, 93, 126, 0.5);
}

/* 针对不同平台的颜色区分 */
.social-icon[href*="qq"] {
    background: linear-gradient(45deg, #31a9f4, #1476b7);
}
.social-icon[href*="wechat"] {
    background: linear-gradient(45deg, #07c160, #059c47);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .social-links {
        flex-direction: column;
        gap: 15px;
    }
    .social-icon {
        justify-content: center;
        padding: 10px 20px;
    }
}